<#if groupNav??>
<#else>
  <#assign groupNav = ''/>
</#if>
<div class="row group-header">
    <div class="col-md-12"  >
      <div class="group-header-inner" style="background:url(${ctx}/${groupinfo.backgroundLogo!'background_group.jpg'});background-repeat: no-repeat;background-size: 100% 100%;">
        <div class="media">
          <a class="pull-left" href="#">
            <img src="{{file_path(groupinfo.logo, 'group.png')}}" alt="" class="media-object" >
          </a>
          <div class="media-body">
            <h1 class="media-heading">${groupinfo.title}</h1>
            <div class="media-metas">
              ${groupinfo.memberNum}个成员
            </div>
          </div>
        </div>

        <ul class="nav nav-pills">
          <li <#if groupNav=="index">class="active"</#if>><a href="${ctx}/group/${groupinfo.id}">小组首页</a></li>
          <li <#if groupNav=="member">class="active"</#if>><a href="${ctx}/group/${groupinfo.id}/member">小组成员</a></li>
          <#if is_groupmember==2 || is_granted('ROLE_ADMIN') || is_groupmember==3>
            <li <#if groupNav=="setting" >class="active" </#if>><a  href="${ctx}/group/${groupinfo.id}/setting/info">小组设置</a></li>
          </#if>
        </ul>

      </div>
    </div>
  </div>